package serviceImpl;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.FileSystemXmlApplicationContext;
import org.springframework.stereotype.Component;

import dao.EmployeeDao;
import daoImpl.EmployeeDaoImpl;
import pojo.Employee;
import service.EmployeeService;
public class EmployeeServiceImpl implements EmployeeService {
	private EmployeeDao employeeDao;

	/**
	 * @return the employeeDao
	 */
	public EmployeeDao getEmployeeDao() {
		return employeeDao;
	}
	/**
	 * @param employeeDao the employeeDao to set
	 */
	public void setEmployeeDao(EmployeeDao employeeDao) {
		this.employeeDao = employeeDao;
	}

	public void updEm(Employee e) {
		// TODO Auto-generated method stub
		employeeDao.updEm(e);
	}

	public void delEmp(String id) {
		// TODO Auto-generated method stub
		employeeDao.delEmp(id);
	}

}
